<template>
	<view class="smart-container">
		<view class="smart-panel-title">1.容器</view>
		<view class="smart-panel-h" @click="goDetailpage('view')"><text>view视图</text></view>
		<view class="smart-panel-h" @click="goDetailpage('scroll-view')"><text>scroll-view滚动视图</text></view>
		<view class="smart-panel-h" @click="goDetailpage('swipter')"><text>swiper可滑动视图</text></view>
		<view class="smart-panel-h" @click="goDetailpage('progress')"><text>progress进度条</text></view>
		<view class="smart-panel-h" @click="goDetailpage('mycard')"><text>mycard我的信息</text></view>
		<view class="smart-panel-h" @click="goDetailpage('biao')"><text>表单组件</text></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goDetailpage(e){
				if(typeof e=='string'){
					uni.navigateTo({
						url:'/pages/components/'+ e +'/'+e
				});
			}else{
				uni.navigateTo({
					url: e.url
				})
			}
			
		}
	}}
</script>
<style>

</style>
